object practices2{
    val rd1 = sc.parallelize(Seq("JavaWeb", "Spark", "Scala"))
    val rd2 = rd1.flatMap(_.toLowerCase.split(" "))
    val rs = rd2.collect()
    println(rs.mkString(", "))
}